package com.diudiutechnology.www.yadiudiu.util.utils.DataString;

/**
 * Created by cqqyc on 2017/9/26.
 */

public class ImageString {

    /**图片字段截取*/
    public static String ImageName(String imageString) {
        String figurepic = imageString;
        String imageFigurepic="";
        if(figurepic.indexOf("|")!=-1){
            imageFigurepic = figurepic.substring(0,figurepic.indexOf("\\|"));
        }
        return imageFigurepic;
    }
}
